home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Personal Computer World 2009 February
/
PCWFEB09.iso
/
Software
/
Linux
/
SLAX 6.0.8
/
slax-6.0.8.iso
/
slax
/
tools
/
lzm2dir
< prev
next >
Wrap
Text File
|
2008-11-21
|
397b
|
18 lines
#!/bin/bash
# convert .lzm compressed file back into directory tree
#
# Author: Tomas M. <http://www.linux-live.org>
#
if [ ! -d "$2" ]; then
echo
echo "Convert .lzm compressed module back into directory tree"
echo "usage: $0 source_file.lzm existing_output_directory"
exit 1
fi
PATH=.:$(dirname $0):/usr/lib:$PATH
. liblinuxlive || exit 1
unsquashfs -f -dest "$2" "$1" >/dev/null